<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="材料管理" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
</head>
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doInit(){
		document.getElementById("mainDiv").style.width=(document.getElementById("mainTd").clientWidth-document.getElementById("navDiv").offsetWidth)+"px";
		document.getElementById("mainFrame").src="/base/ProductList.ihtm";
	}
	//子窗口使用的函数
	function refreshProWin(){
		document.getElementById("mainFrame").contentWindow.refreshWin();
	}
	function doDelPro(id){
		document.getElementById("mainFrame").contentWindow.doDelAct(id);
	}
	function refreshTypeWin(){
		if(popRetVal!=null){
			document.getElementById("leftFrame").contentWindow.refreshWin(popRetVal);
		}
	}
	function doDelType(id){
		document.getElementById("leftFrame").contentWindow.doDelAct(id);
	}
	function doUploadCallBack(){
		if(popRetVal!=null){
			document.getElementById("mainFrame").contentWindow.doUploadCallBackExt(popRetVal);
		}
	}
</script>
<body oncontextmenu="return false" onload="doInit();" class="sheet" scroll="no" style="text-align:center;" >
<div class="sheet-main" style="width:850px; text-align:left;margin:auto">
	<div class="sheet-top">
	  <div class="content">
	    <h2>材料管理</h2>
	    <p>原材料类别、品种的管理，支持以产品名称、产品名称拼音字头进行模糊查询</p>
	  </div>
	</div>

	<div class="sheet-list" id="mainTd" style="height:508px;">
		
		<div class="nav" id="navDiv" style="float:left;height:100%;">
			<iframe width="100%" height="100%" frameborder="0" scrolling="no" id="leftFrame" src="/base/ProductTypeList.ihtm"></iframe>
		</div>
		<div id="mainDiv" class="main search-business" style="float:left;height:100%">
			<iframe width="100%" height="100%" frameborder="0" scrolling="no" id="mainFrame"></iframe>
		</div>
  </div>
  <div class="blank12"></div>
</div>
</body>
</html>